﻿@using StackExchange.Profiling
<!DOCTYPE html>

<html>
<head>
    <title>EasyGo!</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    @Styles.Render("~/content/css/styles")
</head>
<body screen_capture_injected="true" data-offset="50" data-target=".subnav" data-spy="scroll">
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <a data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar">
                    <span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
                </a>
                <a class="brand" href="#view=index">EasyGo!</a>
                <div class="nav-collapse collapse main-nav">
                    <ul class="nav">
                        <li><a href="#view=admin">admin</a> </li>
                         <li><a href="#view=tasklist">my tasks</a> </li>
                        <li>@Html.ActionLink("LogOut", "LogOut", "Account")</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="container">
        <section id="viewContent">
        </section>
    </div>
    <footer class="footer">
            <div class="container">
                <p>
                    Copyright © 2013 Marta Tręda<br/>
                    Logged as: @EasyGo.Common.Auth.EasyGoPrincipal.Current.Name
            </p>
            </div>
        </footer>
    <div id="notify" class="flashMessages"></div>
    <div class="splash">
        <div class="content">
            <h2>Loading application...</h2>
            <br />
            <img src="~/Content/images/preloader.gif" alt="preloader" />
        </div>
    </div>
    <script type="text/javascript">
        var require = {
            baseUrl: '@Url.Content("~/")'
        }
    </script>
    @Scripts.Render("~/js/libs")

    <script type="text/javascript">
        define('root', '@Url.Content("~/")');
        define('serverTime', '@DateTime.Now');
    </script>

    @Scripts.Render("~/Resources", "~/js/app")

    @*@MiniProfiler.RenderIncludes()*@
    <script type="text/javascript">
        window.onerror = alert;
    </script>
</body>
</html>
